{:W('Nav',array('name'=>'编辑商品分类'))}
<div class="main-div">
    <form action="{:U(GROUP_NAME.'/Category/runEditCate')}" method="post" name="theForm" enctype="multipart/form-data" onsubmit="return validate()">
        <table width="100%" id="general-table">
            <tr>
                <input type='hidden' name='id' maxlength="20" value='{$cat.id}' size='27'/>
                <td class="label">分类名称:</td>
                <td>
                    <input type='text' name='cate_name' maxlength="20" value='{$cat.cate_name}' size='27'/> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="label">上级分类:</td>
                <td>
                    <select name="parent_id">
                        <option value="0">顶级分类</option>
                        {$cate}
                    </select>
                </td>
            </tr>
            <tr>
                <td class="label">排序:</td>
                <td>
                    <input type="text" id="sort_order" name="sort" value="{$cat.sort}" size="15"/>
                </td>
            </tr>

            <tr>
                <td class="label">是否显示:</td>
                <td>
                    <if condition="$cat.is_show eq 1">
                        <input type="radio" name="is_show" value="1" checked="true"/> 是 <input type="radio" name="is_show" value="0"/> 否
                    <else/>
                        <input type="radio" name="is_show" value="1" /> 是 <input type="radio" name="is_show" value="0" checked="true"/> 否
                    </if>

                </td>
            </tr>
            <tr>
                <td class="label">是否显示在导航栏:</td>
                <td>
                    <if condition="$cat.is_nav eq 1">
                        <input type="radio" name="is_nav" value="1" checked="true"/> 是 <input type="radio" name="is_nav" value="0"/> 否
                        <else/>
                        <input type="radio" name="is_nav" value="1" /> 是 <input type="radio" name="is_nav" value="0" checked="true"/> 否
                    </if>

                </td>
            </tr>
        </table>
        <div class="button-div">
            <input type="submit" value=" 确定 "/>
            <input type="reset" value=" 重置 "/>
        </div>
    </form>
</div>

<div id="footer">
    共执行 4 个查询，用时 0.097566 秒，Gzip 已禁用，内存占用 4.750 MB<br/>
    版权所有 &copy; 2005-2017 上海商派软件有限公司，并保留所有权利。
</div>
<!-- 新订单提示信息 -->
<div id="popMsg">
    <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#cfdef4" border="0">
        <tr>
            <td style="color: #0f2c8c" width="30" height="24"></td>
            <td style="font-weight: normal; color: #1f336b; padding-top: 4px;padding-left: 4px" valign="center"
                width="100%"> 新订单通知
            </td>
            <td style="padding-top: 2px;padding-right:2px" valign="center" align="right" width="19"><span title="关闭"
                                                                                                          style="cursor: hand;cursor:pointer;color:red;font-size:12px;font-weight:bold;margin-right:4px;"
                                                                                                          onclick="Message.close()">×</span>
                <!-- <img title=关闭 style="cursor: hand" onclick=closediv() hspace=3 src="msgclose.jpg"> --></td>
        </tr>
        <tr>
            <td style="padding-right: 1px; padding-bottom: 1px" colspan="3" height="70">
                <div id="popMsgContent">
                    <p>您有 <strong style="color:#ff0000" id="spanNewOrder">1</strong> 个新订单以及 <strong
                            style="color:#ff0000" id="spanNewPaid">0</strong> 个新付款的订单</p>
                    <p align="center" style="word-break:break-all"><a href="order.php?act=list"><span
                            style="color:#ff0000">点击查看新订单</span></a></p>
                </div>
            </td>
        </tr>
    </table>
</div>

</body>
</html>